package com.hxkj.service;

import com.hxkj.domain.bo.PayParameter;
import com.hxkj.domain.bo.WithdrawParameter;

/**
 * 快捷支付
 * <p>
 * Create by chenwei on 2019/1/14 16:04
 */
public interface KuaijiePayService {

    /**
     * 支付
     *
     * @param payParameter
     * @return
     */
    String pay(PayParameter payParameter) throws Exception;

    /**
     * 支付通知
     *
     * @return
     * @throws Exception
     */
    String payCallback() throws Exception;


    /**
     * 提现
     * @param withdrawParameter
     */
    void withdraw(WithdrawParameter withdrawParameter) throws Exception;


    /**
     * 提现通知
     *
     * @return
     * @throws Exception
     */
    String withdrawCallback() throws Exception;
}
